package com.hanhai.material.scheduling.entity;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import java.io.Serializable;
import java.sql.Timestamp;
import java.util.List;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 *  实体类。
 *
 * @author youchuang
 * @since 2024/04/18 15:42:14
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(value = "sys_time_period",dataSource = "scheduling")
public class SysTimePeriod implements Serializable {

    @Id(keyType = KeyType.Auto)
    private Integer id;

    private String timePeriod;

    private Integer shift;

    private String createUserId;

    private String updateUserId;

    private Timestamp createTime;

    private Timestamp updateTime;

    private String timeIndex;

    private String shiftName;

    private Integer orderNo;

    @Column(ignore = true)
    private List<SysTimePeriod> timePeriodList;

}
